<!DOCTYPE html>












  


<html class="theme-next pisces use-motion" lang="zh-CN">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"/>
<meta name="theme-color" content="#222">






  
  
    
      
    
    
      
    
  <script src="https://cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
  <link href="https://cdn.bootcss.com/pace/1.0.2/themes/blue/pace-theme-flash.min.css" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />






















  

<link href="https://cdn.bootcss.com/font-awesome/4.6.2/css/font-awesome.min.css" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=6.3.0" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=6.3.0">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=6.3.0">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=6.3.0">


  <link rel="mask-icon" href="/images/logo.svg?v=6.3.0" color="#222">









<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '6.3.0',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>


  




  <meta name="description" content="一次面试记录电面基本上是围绕简历提问，外带一些基本问题。  说一说vue指令 说一说webpack打包大概是什么样的，为什么能把所有资源都能打进来 了解es6吗，讲一下装饰器，以及装饰器编译成es5是什么样，babel如何配置才能用es7、es8等最新语法 node爬虫以及解码问题 说一说react和vue的对比 说一说虚拟dom是什么，以及diff算法 react没有Vue的依赖收集，所以谈一谈">
<meta name="keywords" content="面试">
<meta property="og:type" content="article">
<meta property="og:title" content="一次面试记录">
<meta property="og:url" content="http://yoursite.com/2018/08/03/一次面试记录/index.html">
<meta property="og:site_name" content="三月的米店">
<meta property="og:description" content="一次面试记录电面基本上是围绕简历提问，外带一些基本问题。  说一说vue指令 说一说webpack打包大概是什么样的，为什么能把所有资源都能打进来 了解es6吗，讲一下装饰器，以及装饰器编译成es5是什么样，babel如何配置才能用es7、es8等最新语法 node爬虫以及解码问题 说一说react和vue的对比 说一说虚拟dom是什么，以及diff算法 react没有Vue的依赖收集，所以谈一谈">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://yoursite.com/2018/08/03/一次面试记录/456066894.jpg">
<meta property="og:updated_time" content="2018-11-29T02:09:38.109Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="一次面试记录">
<meta name="twitter:description" content="一次面试记录电面基本上是围绕简历提问，外带一些基本问题。  说一说vue指令 说一说webpack打包大概是什么样的，为什么能把所有资源都能打进来 了解es6吗，讲一下装饰器，以及装饰器编译成es5是什么样，babel如何配置才能用es7、es8等最新语法 node爬虫以及解码问题 说一说react和vue的对比 说一说虚拟dom是什么，以及diff算法 react没有Vue的依赖收集，所以谈一谈">
<meta name="twitter:image" content="http://yoursite.com/2018/08/03/一次面试记录/456066894.jpg">






  <link rel="canonical" href="http://yoursite.com/2018/08/03/一次面试记录/"/>



<script type="text/javascript" id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  <title>一次面试记录 | 三月的米店</title>
  









  <noscript>
  <style type="text/css">
    .use-motion .motion-element,
    .use-motion .brand,
    .use-motion .menu-item,
    .sidebar-inner,
    .use-motion .post-block,
    .use-motion .pagination,
    .use-motion .comments,
    .use-motion .post-header,
    .use-motion .post-body,
    .use-motion .collection-title { opacity: initial; }

    .use-motion .logo,
    .use-motion .site-title,
    .use-motion .site-subtitle {
      opacity: initial;
      top: initial;
    }

    .use-motion {
      .logo-line-before i { left: initial; }
      .logo-line-after i { right: initial; }
    }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">三月的米店</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
      
        <h1 class="site-subtitle" itemprop="description">今儿不吃饭</h1>
      
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>



<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home">
    <a href="/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-home"></i> <br />首页</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">
    <a href="/tags/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />标签</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">
    <a href="/categories/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-th"></i> <br />分类</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">
    <a href="/archives/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />归档</a>
  </li>

      
      
    </ul>
  

  

  
</nav>



  



</div>
    </header>

    


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
            

          
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2018/08/03/一次面试记录/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Mark Lee">
      <meta itemprop="description" content="折腾小久的博客,在 2018-08-01 终于基本成型啦，以后就常驻啦">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="三月的米店">
    </span>

    
      <header class="post-header">

        
        
          <h2 class="post-title" itemprop="name headline">一次面试记录
              
            
          </h2>
        

        <div class="post-meta">
          <span class="post-time">

            
            
            

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2018-08-03 09:37:20" itemprop="dateCreated datePublished" datetime="2018-08-03T09:37:20+08:00">2018-08-03</time>
            

            
              

              
                
                <span class="post-meta-divider">|</span>
                

                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2018-11-29 10:09:38" itemprop="dateModified" datetime="2018-11-29T10:09:38+08:00">2018-11-29</time>
              
            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/前端/" itemprop="url" rel="index"><span itemprop="name">前端</span></a></span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="一次面试记录"><a href="#一次面试记录" class="headerlink" title="一次面试记录"></a>一次面试记录</h1><h2 id="电面"><a href="#电面" class="headerlink" title="电面"></a>电面</h2><p>基本上是围绕简历提问，外带一些基本问题。</p>
<ul>
<li>说一说<code>vue</code>指令</li>
<li>说一说<code>webpack</code>打包大概是什么样的，为什么能把所有资源都能打进来</li>
<li>了解<code>es6</code>吗，讲一下装饰器，以及装饰器编译成<code>es5</code>是什么样，<code>babel</code>如何配置才能用<code>es7</code>、<code>es8</code>等最新语法</li>
<li><code>node</code>爬虫以及解码问题</li>
<li>说一说<code>react</code>和<code>vue</code>的对比</li>
<li>说一说<code>虚拟dom</code>是什么，以及<code>diff</code>算法</li>
<li><code>react</code>没有<code>Vue</code>的依赖收集，所以谈一谈<code>react</code>的性能优化</li>
<li>再说一说<code>React.pureComponent</code>原理</li>
<li>高阶函数是否知道，以及高阶函数(hoc)和混入(mixin)的对比</li>
<li>浮动影响，怎么清除浮动，父元素伪类设置的<code>content</code>为空的时候对清除浮动是否影响，</li>
<li>讲一讲<code>BFC</code></li>
<li>是否了解<code>BEM</code></li>
<li>position的取值，以及<code>relative</code>、<code>absolute</code>的区别，以及<code>relative</code>设置<code>top</code>，<code>left</code>等值是否破坏文档流</li>
</ul>
<h2 id="现场面"><a href="#现场面" class="headerlink" title="现场面"></a>现场面</h2><p>传闻现场面有三轮，技术面、hr面、TL(teamLeader)面，结果面完以后内推的小伙伴告诉我面试官是teamLeader才知道这直接就是TL面了，面的不太理想，所以最后是挂了。</p>
<h3 id="笔试题"><a href="#笔试题" class="headerlink" title="笔试题"></a>笔试题</h3><ul>
<li>函数作用域的那种题，涉及一些基本的闭包，全局作用域一些相关问题</li>
<li>一个10秒钟的<code>while</code>循环，这时候事件点击的问题</li>
<li>原型链相关的一个问题</li>
<li>分析一段函数是否存在问题，重点在于递归问题</li>
</ul>
<h3 id="mac敲代码题"><a href="#mac敲代码题" class="headerlink" title="mac敲代码题"></a>mac敲代码题</h3><p>实现一个解析<code>url</code>参数的函数，也算很常见的一个面试题了。</p>
<h3 id="提问"><a href="#提问" class="headerlink" title="提问"></a>提问</h3><ul>
<li><code>vue-router</code>原理</li>
<li>多次改变<code>this.data</code>的值，是否多次渲染，渲染之后如何操作，以及<code>nextTick</code>原理</li>
<li><code>vue</code>原理</li>
<li><code>koa</code>中间件原理</li>
<li><code>node</code>单线程，那么线程和进程区别</li>
<li>是否有计算机基础</li>
<li>webpack怎么涉及文件缓冲,文件名设置为<code>hash</code>值后，怎么映射到<code>index.html</code>的引入中去</li>
</ul>
<hr>
<p><img src="/2018/08/03/一次面试记录/456066894.jpg" alt="Ivan Konstantinovich Aivazovsky – Shipwreck"></p>
<blockquote>
<p>Ivan Konstantinovich Aivazovsky – Shipwreck 1864</p>
</blockquote>

      
    </div>

    

    
    
    

    

    

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/面试/" rel="tag"><i class="fa fa-tag"></i> 面试</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2018/08/03/看到的面试题/" rel="next" title="看到的面试题">
                <i class="fa fa-chevron-left"></i> 看到的面试题
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/08/03/前端部署nginx配置/" rel="prev" title="前端部署nginx配置">
                前端部署nginx配置 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>


  </div>


          </div>
          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">Mark Lee</p>
              <p class="site-description motion-element" itemprop="description">折腾小久的博客,在 2018-08-01 终于基本成型啦，以后就常驻啦</p>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/archives/">
                
                    <span class="site-state-item-count">26</span>
                    <span class="site-state-item-name">日志</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  <a href="/categories/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">4</span>
                    <span class="site-state-item-name">分类</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  <a href="/tags/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">20</span>
                    <span class="site-state-item-name">标签</span>
                  </a>
                </div>
              
            </nav>
          

          

          

          
          

          
          

          
            
          
          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#一次面试记录"><span class="nav-number">1.</span> <span class="nav-text">一次面试记录</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#电面"><span class="nav-number">1.1.</span> <span class="nav-text">电面</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#现场面"><span class="nav-number">1.2.</span> <span class="nav-text">现场面</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#笔试题"><span class="nav-number">1.2.1.</span> <span class="nav-text">笔试题</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#mac敲代码题"><span class="nav-number">1.2.2.</span> <span class="nav-text">mac敲代码题</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#提问"><span class="nav-number">1.2.3.</span> <span class="nav-text">提问</span></a></li></ol></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Mark Lee</span>

  

  
</div>


  


<!--

  <div class="powered-by">由 <a class="theme-link" target="_blank" rel="external nofollow" href="https://hexo.io">Hexo</a> 强力驱动 v3.7.1</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" rel="external nofollow" href="https://theme-next.org">NexT.Pisces</a> v6.3.0</div>

-->



        








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    
	
    

    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>


























  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=6.3.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=6.3.0"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=6.3.0"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=6.3.0"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=6.3.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=6.3.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=6.3.0"></script>



  



  










  





  

  

  

  

  
  

  

  

  

  

  

</body>
</html>
